package com.zsc.yygh.order.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.zsc.yygh.model.order.PaymentInfo;
import com.zsc.yygh.model.order.RefundInfo;
import com.zsc.yygh.vo.order.OrderRefundVo;

import java.util.List;

public interface RefundInfoService extends IService<RefundInfo> {

    /**
     * 保存退款记录
     * @param paymentInfo
     */
    RefundInfo saveRefundInfo(PaymentInfo paymentInfo);

    /**
     * 获取退款信息
     * @return
     */
    List<OrderRefundVo> getRefundInfo();

}
